package utils

import (
	"github.com/beego/beego/v2/core/config"
	"ksd-social-api/commons/global"
)

func ParseConfig(key string) string {
	s, _ := config.String(key)
	return s
}

func ParseEnvConfig(key string) string {
	s, _ := config.String(global.Env + "::" + key)
	return s
}
